"""

Roket Secure Language - String Codes Parser

"""

class StringCodes():
	def __init__(self):
		pass
	
	def evaluateEscapedCharacters(self, a):
		# Replaces escaped characters such as:
		#   \"
		#   \'
		#   \\
		# with their correct content.
		a = a.replace("\\\"", "\"")
		a = a.replace("\\'", "'")
		a = a.replace("\\\\", "\\")
		return a
		